Open
Conversation
WoWaster
requested changes
Sep 27, 2025
Collaborator
WoWaster
left a comment
There was a problem hiding this comment.
- У Вас у ВСЕХ файлов отсутствует расширение. Так не надо.
- Форматтер НАДО настроить.
- Будьте внимательнее!
lucky_tick
Outdated
Collaborator
There was a problem hiding this comment.
Здесь у Вас задача про переворот массива, а не про счасливые билетики
rearran_segm
Outdated
| int* list = (int *)malloc(lenght * sizeof(int)); | ||
| for (int i = 1; i < m + n + 1; i++) | ||
| { | ||
| int i_1 = i - 1; |
Collaborator
There was a problem hiding this comment.
Мы используем camelCase, а не snake_case
rearran_segm
Outdated
| list[i] = temp; | ||
| } | ||
|
|
||
| //сортирока пузырьком длиннейшего из отрезков, т.к. его переставляли не целиком |
Collaborator
There was a problem hiding this comment.
А кто сказал, что массив отсортирован? Тут сортировка явно лишняя
incom_priv
Outdated
Comment on lines
16
to
17
| while (a > b) | ||
| { |
Collaborator
There was a problem hiding this comment.
И форматтер у Вас не настроен
WoWaster
requested changes
Oct 7, 2025
Collaborator
There was a problem hiding this comment.
В данном случае комментарии в коде излишни, но ок. Зачтено.
lucky_tick.c
Outdated
Collaborator
There was a problem hiding this comment.
Условие требует комбинаторного решения.
Collaborator
There was a problem hiding this comment.
Не оптимально, но корректно. Зачтено.
incom_priv.c
Outdated
| incomp *= -1; | ||
| } | ||
|
|
||
| // вычитаем из a число b до тех пор пока b не станет больше а. И прибавляем к счетчику 1. |
WoWaster
requested changes
Nov 14, 2025
Collaborator
WoWaster
left a comment
There was a problem hiding this comment.
Ну кааак... Отформатируйте код и будет счастье.
WoWaster
previously approved these changes
Dec 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Дз до 25.09